package com.codes.dao;

import com.codes.model.WorkOrder;

import java.util.List;
import java.util.Map;

public interface WorkOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WorkOrder record);

    int insertSelective(WorkOrder record);

    int  insertByMap( Map m);

    WorkOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Map map);

    int updateByPrimaryKey(WorkOrder record);

    // getList
    List<Map<String,Object>> getList(Map<String,Object> map);
//getById
    Map<String,Object> getById(Integer id);

    // getCount
    int getCount(Map map);
    // getListByRole
    List<Map<String,Object>> getListByRole(Map map);



    //updateByIdDel
    int updateByIdDel(Map map);

    Map getInfoById(Map map);

    // getListDayExport
    List<Map<String,Object>> getListDayExport(Map m);

    //  计划 汇总 页面
    List<Map<String,Object>> getTotalList(Map map);
    int getTotalListCount(Map map);

}